package com.ziyun.pop.common.e.mercharReport;

import com.ziyun.pop.common.e.BaseEnum;



/* * store_stock_material_io 出入库类型
* 1.采购入库2.红冲3.盘存4.销售出库5.盘亏6.生产消耗7.调拨入库8.调拨出库9.数据迁移10.采购退货
*/

public enum StoreInoutEnum implements BaseEnum {

    STORE_INOUT_TYPE_1(1, "采购入库"),
    STORE_INOUT_TYPE_2(2, "红冲"),
    STORE_INOUT_TYPE_3(3, "盘存"),
    STORE_INOUT_TYPE_4(4, "销售出库"),
    STORE_INOUT_TYPE_5(5, "盘亏"),
    STORE_INOUT_TYPE_6(6, "生产消耗"),
    STORE_INOUT_TYPE_7(7, "调拨入库"),
    STORE_INOUT_TYPE_8(8, "调拨出库"),
    //STORE_INOUT_TYPE_9(9, "数据迁移"),
    STORE_INOUT_TYPE_10(10, "采购退货"),
    ;

    private int id;
    private String describe;

    StoreInoutEnum(int id, String describe) {
        this.id = id;
        this.describe = describe;
    }

    @Override
    public int toInt() {
        return id;
    }

    @Override
    public String toCode() {
        return null;
    }

    @Override
    public String toDescribe() {
        return describe;
    }
}
